import requests
import re
import time

response = requests.get(url="https://www.sanchuangedu.cn/")
result = re.findall(r"^<img \w+=([A-z]+(?:.png|.jpg))",response.text,re.M)

for img in result:
    response = requests.get(url="https://www.sanchuangedu.cn/"+img)
    nowtime = time.strftime("%Y%m%d%H%M",time.localtime())
    with open(f"{nowtime} {img}.png","wb") as fp:
        fp.write(response.content)
        print(f"{img} 下好了")
print("全部搞定")